package shape;

/**
 * Created by thoughtworks on 24/7/14.
 */
public class HorizontalLine extends Line {
    public HorizontalLine(int length1) {
        super('*',length1);
    }

    @Override
    public String[] exportString() {
        String[] bitmap = new String[1];
        int i;
        bitmap[0] = "";
        for(i = 0;i < length;i++)
            bitmap[0] = bitmap[0] + dataUnit;
        return bitmap;
    }
}
